.class Lcn/domob/android/ads/t;
.super Lcn/domob/android/ads/DomobAdView;
.source "SourceFile"

# interfaces
.implements Lcn/domob/android/ads/DomobAdListener;


# static fields
.field private static u:Lcn/domob/android/ads/H;


# instance fields
.field private v:Z

.field private w:Lcn/domob/android/ads/DomobInterstitialAdListener;

.field private x:Lcn/domob/android/ads/v$a;


# direct methods
.method static constructor <clinit>()V
    .locals 2

    new-instance v0, Lcn/domob/android/ads/H;

    const-class v1, Lcn/domob/android/ads/t;

    invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lcn/domob/android/ads/H;-><init>(Ljava/lang/String;)V

    sput-object v0, Lcn/domob/android/ads/t;->u:Lcn/domob/android/ads/H;

    return-void
.end method

.method constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0, p1, p2, p3}, Lcn/domob/android/ads/DomobAdView;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    iput-boolean v1, p0, Lcn/domob/android/ads/t;->v:Z

    iget-object v0, p0, Lcn/domob/android/ads/t;->a:Lcn/domob/android/ads/f;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcn/domob/android/ads/t;->a:Lcn/domob/android/ads/f;

    invoke-virtual {v0, v1}, Lcn/domob/android/ads/f;->a(Z)V

    iget-object v0, p0, Lcn/domob/android/ads/t;->a:Lcn/domob/android/ads/f;

    invoke-virtual {v0, v1}, Lcn/domob/android/ads/f;->b(Z)V

    :cond_0
    sget-object v0, Lcn/domob/android/ads/DomobAdView$b;->c:Lcn/domob/android/ads/DomobAdView$b;

    invoke-virtual {v0}, Lcn/domob/android/ads/DomobAdView$b;->ordinal()I

    move-result v0

    iput v0, p0, Lcn/domob/android/ads/t;->b:I

    return-void
.end method

.method static synthetic a(Lcn/domob/android/ads/t;)Lcn/domob/android/ads/DomobInterstitialAdListener;
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/t;->w:Lcn/domob/android/ads/DomobInterstitialAdListener;

    return-object v0
.end method


# virtual methods
.method a(Landroid/content/Context;)V
    .locals 8

    const/4 v7, 0x1

    const/4 v6, 0x0

    iget-object v0, p0, Lcn/domob/android/ads/t;->a:Lcn/domob/android/ads/f;

    invoke-virtual {v0}, Lcn/domob/android/ads/f;->u()Lcn/domob/android/ads/i;

    move-result-object v0

    invoke-virtual {v0}, Lcn/domob/android/ads/i;->d()Lcn/domob/android/ads/i$b;

    move-result-object v0

    invoke-virtual {v0}, Lcn/domob/android/ads/i$b;->o()Z

    move-result v0

    iget-object v1, p0, Lcn/domob/android/ads/t;->a:Lcn/domob/android/ads/f;

    invoke-virtual {v1}, Lcn/domob/android/ads/f;->u()Lcn/domob/android/ads/i;

    move-result-object v1

    invoke-virtual {v1}, Lcn/domob/android/ads/i;->d()Lcn/domob/android/ads/i$b;

    move-result-object v1

    invoke-virtual {v1}, Lcn/domob/android/ads/i$b;->p()I

    move-result v1

    iget-object v2, p0, Lcn/domob/android/ads/t;->a:Lcn/domob/android/ads/f;

    invoke-virtual {v2}, Lcn/domob/android/ads/f;->u()Lcn/domob/android/ads/i;

    move-result-object v2

    invoke-virtual {v2}, Lcn/domob/android/ads/i;->d()Lcn/domob/android/ads/i$b;

    move-result-object v2

    invoke-virtual {v2}, Lcn/domob/android/ads/i$b;->q()I

    move-result v2

    new-instance v3, Lcn/domob/android/ads/v$a;

    invoke-direct {v3, p1}, Lcn/domob/android/ads/v$a;-><init>(Landroid/content/Context;)V

    iget v4, p0, Lcn/domob/android/ads/t;->k:I

    iget v5, p0, Lcn/domob/android/ads/t;->l:I

    invoke-virtual {v3, v4, v5}, Lcn/domob/android/ads/v$a;->a(II)Lcn/domob/android/ads/v$a;

    move-result-object v3

    invoke-virtual {v3, v0}, Lcn/domob/android/ads/v$a;->a(Z)Lcn/domob/android/ads/v$a;

    move-result-object v0

    if-eqz v1, :cond_0

    move v3, v7

    :goto_0
    invoke-virtual {v0, v3, v1}, Lcn/domob/android/ads/v$a;->a(ZI)Lcn/domob/android/ads/v$a;

    move-result-object v0

    if-eqz v2, :cond_1

    move v1, v7

    :goto_1
    invoke-virtual {v0, v1, v2}, Lcn/domob/android/ads/v$a;->b(ZI)Lcn/domob/android/ads/v$a;

    move-result-object v0

    invoke-virtual {v0, v7}, Lcn/domob/android/ads/v$a;->b(Z)Lcn/domob/android/ads/v$a;

    move-result-object v0

    new-instance v1, Lcn/domob/android/ads/t$1;

    invoke-direct {v1, p0}, Lcn/domob/android/ads/t$1;-><init>(Lcn/domob/android/ads/t;)V

    invoke-virtual {v0, v1}, Lcn/domob/android/ads/v$a;->a(Lcn/domob/android/ads/v$b;)Lcn/domob/android/ads/v$a;

    move-result-object v0

    iput-object v0, p0, Lcn/domob/android/ads/t;->x:Lcn/domob/android/ads/v$a;

    iget-object v0, p0, Lcn/domob/android/ads/t;->x:Lcn/domob/android/ads/v$a;

    invoke-virtual {v0, p0}, Lcn/domob/android/ads/v$a;->a(Landroid/view/View;)V

    iput-boolean v6, p0, Lcn/domob/android/ads/t;->v:Z

    return-void

    :cond_0
    move v3, v6

    goto :goto_0

    :cond_1
    move v1, v6

    goto :goto_1
.end method

.method a(Lcn/domob/android/ads/DomobInterstitialAdListener;)V
    .locals 0

    iput-object p1, p0, Lcn/domob/android/ads/t;->w:Lcn/domob/android/ads/DomobInterstitialAdListener;

    return-void
.end method

.method protected j()V
    .locals 0

    return-void
.end method

.method protected k()V
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/t;->x:Lcn/domob/android/ads/v$a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcn/domob/android/ads/t;->x:Lcn/domob/android/ads/v$a;

    invoke-virtual {v0}, Lcn/domob/android/ads/v$a;->a()V

    :cond_0
    return-void
.end method

.method m()V
    .locals 0

    invoke-super {p0, p0}, Lcn/domob/android/ads/DomobAdView;->setOnAdListener(Lcn/domob/android/ads/DomobAdListener;)V

    invoke-super {p0}, Lcn/domob/android/ads/DomobAdView;->requestRefreshAd()V

    return-void
.end method

.method n()Z
    .locals 1

    iget-boolean v0, p0, Lcn/domob/android/ads/t;->v:Z

    return v0
.end method

.method o()Z
    .locals 1

    iget-boolean v0, p0, Lcn/domob/android/ads/t;->v:Z

    return v0
.end method

.method public onFailedToReceiveFreshAd(Lcn/domob/android/ads/DomobAdView;)V
    .locals 2

    iget-object v0, p0, Lcn/domob/android/ads/t;->w:Lcn/domob/android/ads/DomobInterstitialAdListener;

    if-eqz v0, :cond_0

    sget-object v0, Lcn/domob/android/ads/t;->u:Lcn/domob/android/ads/H;

    const-string v1, "Notify interstitial ad failed."

    invoke-virtual {v0, p0, v1}, Lcn/domob/android/ads/H;->a(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object v0, p0, Lcn/domob/android/ads/t;->w:Lcn/domob/android/ads/DomobInterstitialAdListener;

    invoke-interface {v0}, Lcn/domob/android/ads/DomobInterstitialAdListener;->onInterstitialAdFailed()V

    :cond_0
    return-void
.end method

.method public onLandingPageClose()V
    .locals 2

    iget-object v0, p0, Lcn/domob/android/ads/t;->w:Lcn/domob/android/ads/DomobInterstitialAdListener;

    if-eqz v0, :cond_0

    sget-object v0, Lcn/domob/android/ads/t;->u:Lcn/domob/android/ads/H;

    const-string v1, "Notify interstitial ad landing page close."

    invoke-virtual {v0, p0, v1}, Lcn/domob/android/ads/H;->a(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object v0, p0, Lcn/domob/android/ads/t;->w:Lcn/domob/android/ads/DomobInterstitialAdListener;

    invoke-interface {v0}, Lcn/domob/android/ads/DomobInterstitialAdListener;->onLandingPageClose()V

    :cond_0
    return-void
.end method

.method public onLandingPageOpening()V
    .locals 2

    iget-object v0, p0, Lcn/domob/android/ads/t;->w:Lcn/domob/android/ads/DomobInterstitialAdListener;

    if-eqz v0, :cond_0

    sget-object v0, Lcn/domob/android/ads/t;->u:Lcn/domob/android/ads/H;

    const-string v1, "Notify interstitial ad landing page open."

    invoke-virtual {v0, p0, v1}, Lcn/domob/android/ads/H;->a(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object v0, p0, Lcn/domob/android/ads/t;->w:Lcn/domob/android/ads/DomobInterstitialAdListener;

    invoke-interface {v0}, Lcn/domob/android/ads/DomobInterstitialAdListener;->onLandingPageOpen()V

    :cond_0
    return-void
.end method

.method public onReceivedFreshAd(Lcn/domob/android/ads/DomobAdView;)V
    .locals 2

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcn/domob/android/ads/t;->v:Z

    iget-object v0, p0, Lcn/domob/android/ads/t;->w:Lcn/domob/android/ads/DomobInterstitialAdListener;

    if-eqz v0, :cond_0

    sget-object v0, Lcn/domob/android/ads/t;->u:Lcn/domob/android/ads/H;

    const-string v1, "Notify interstitial ad ready."

    invoke-virtual {v0, p0, v1}, Lcn/domob/android/ads/H;->a(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object v0, p0, Lcn/domob/android/ads/t;->w:Lcn/domob/android/ads/DomobInterstitialAdListener;

    invoke-interface {v0}, Lcn/domob/android/ads/DomobInterstitialAdListener;->onInterstitialAdReady()V

    :cond_0
    return-void
.end method

.method p()Lcn/domob/android/ads/DomobInterstitialAdListener;
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/t;->w:Lcn/domob/android/ads/DomobInterstitialAdListener;

    return-object v0
.end method
